/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-07-18 11:37:29
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //基础信息
    formObj: [{
            input: true, //是input
            label: "姓名", //字段
            prop: "name", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '姓名不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "性别", //字段
            prop: "gender", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择报告判定'
            }], //验证
            options:[
            {
                label:"男",
                value:"男",
            },{
                label:"女",
                value:"女",
            }]
        },
        {
            selects: true, //是input
            label: "证件类型", //字段
            prop: "certificateType", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择证件类型'
            }], //验证
            options:[
            {
                label:"居民身份证",
                value:"居民身份证",
            },{
                label:"护照",
                value:"护照",
            },{
                label:"军官证",
                value:"军官证",
            }]
        },
        {
            input: true, //是input
            label: "证件号码", //字段
            prop: "certificateNum", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '证件号码不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "出生日期", //字段
            prop: "birthdays", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '出生日期不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "民族", //字段
            prop: "nation", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择民族'
            }], //验证
            options:[
            {
                label:"汉族",
                value:"汉族",
            },{
                label:"回族",
                value:"回族",
            },{
                label:"藏族",
                value:"藏族",
            },{
                label:"朝鲜族",
                value:"朝鲜族",
            }]
        },
        {
            selects: true, //是input
            label: "是否在母体注册", //字段
            prop: "registered", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择是否在母体注册'
            }], //验证
            options:[
            {
                label:"是",
                value:"0",
            }, {
                label:"否",
                value:"1",
            }]
        },
        {
            selects: true, //是input
            label: "工作岗位", //字段
            prop: "operatingPost", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择工作岗位'
            }], //验证
            options:[
            {
                label:"授权负责人",
                value:"授权负责人",
            }, {
                label:"试验检测工程师",
                value:"试验检测工程师",
            },{
                label:"试验检测师",
                value:"试验检测师",
            }, {
                label:"助理试验检测师",
                value:"助理试验检测师",
            },{
                label:"试验检测员",
                value:"试验检测员",
            }, {
                label:"设备管理员",
                value:"设备管理员",
            },{
                label:"样品管理员",
                value:"样品管理员",
            }, {
                label:"档案管理员",
                value:"档案管理员",
            }]
        },
        {
            input: true, //是input
            label: "电子邮件", //字段
            prop: "email", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '电子邮件不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "手机号码", //字段
            prop: "telephone", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '手机号码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "所在省市", //字段
            prop: "provinceCity", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '所在省市不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "邮政编码", //字段
            prop: "postalCode", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '邮政编码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "通信地址", //字段
            prop: "address", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '通信地址不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "毕业院校", //字段
            prop: "college", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '邮政编码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "专业", //字段
            prop: "profession", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '专业不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "学历", //字段
            prop: "education", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择学历'
            }], //验证
            options:[
            {
                label:"大学本科",
                value:"大学本科",
            }, {
                label:"大学专科",
                value:"大学专科",
            },{
                label:"研究生",
                value:"研究生",
            }, {
                label:"博士生",
                value:"博士生",
            },{
                label:"中专",
                value:"中专",
            }, {
                label:"高中",
                value:"高中",
            }]
        },
        {
            datePicker: true, //是input
            label: "毕业时间", //字段
            prop: "graduationDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '毕业时间不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "参加工作时间", //字段
            prop: "workDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '参加工作时间不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "技术职称", //字段
            prop: "technicalTitles", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择技术职称'
            }], //验证
            options:[
            {
                label:"会计师",
                value:"会计师",
            }, {
                label:"会计员",
                value:"会计员",
            },{
                label:"工程师",
                value:"工程师",
            }, {
                label:"技术员",
                value:"技术员",
            },{
                label:"助理工程师",
                value:"助理工程师",
            },{
                label:"高级工程师",
                value:"高级工程师",
            },]
        },
        {
            datePicker: true, //是input
            label: "评定时间", //字段
            prop: "evaluationDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '评定时间不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "从事试验检测年限", //字段
            prop: "examiningDate", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '专业不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "办公电话", //字段
            prop: "officePhone", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '办公电话不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "传真", //字段
            prop: "fax", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '传真不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "试验检测证书编号", //字段
            prop: "credentialCode", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '试验检测证书编号不能为空'
            }], //验证
        },

        // {
        //     label: "上传照片", //字段
        //     prop: "fFileurl", //字段名
        //     width: 24, //参考el-col
        //     disabled: false, //是否禁用
        //     upload: true,
        //     uploadSelect: true,
        //     uploadObj: {
        //         fileType: "2001",
        //         limit: 8, //上传长度限制
        //         hideUpload: false, //是否隐藏上传框
        //     },
        //     rules: [{
        //         required: false,
        //         message: '上传照片不能为空'
        //     }] //验证
        // },
    ],
    formBcObj: [
     
        {
            textarea: true, //是input
            label: "工作情况、奖罚", //字段
            prop: "workCondition", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '工作情况、奖罚不能为空'
            }] //验证
        },
    ],
}